package com.ruoyi.task.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 基础设置对象 task_config
 * 
 * @author ruoyi
 * @date 2025-05-17
 */
public class TaskConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 账户余额是否显示 1 显示 0隐藏 */
    @Excel(name = "账户余额是否显示 1 显示 0隐藏")
    private Integer showAccountBalance;

    /** 任务完成总数是否显示 1 显示 0隐藏 */
    @Excel(name = "任务完成总数是否显示 1 显示 0隐藏")
    private Integer showTaskCompletionCount;

    /** 收款码是否显示 1 显示 0隐藏 */
    @Excel(name = "收款码是否显示 1 显示 0隐藏")
    private Integer showPaymentCode;

    /** 提现申请是否显示 1 显示 0隐藏 */
    @Excel(name = "提现申请是否显示 1 显示 0隐藏")
    private Integer showWithdrawalApplication;

    /** 邀请好友是否显示 1 显示 0隐藏 */
    @Excel(name = "邀请好友是否显示 1 显示 0隐藏")
    private Integer showInviteFriends;

    /** 我的团队是否显示 1 显示 0隐藏 */
    @Excel(name = "我的团队是否显示 1 显示 0隐藏")
    private Integer showMyTeam;

    /** 我的任务是否显示 1 显示 0隐藏 */
    @Excel(name = "我的任务是否显示 1 显示 0隐藏")
    private Integer showMyTasks;

    /** 首页位置 */
    @Excel(name = "首页位置")
    private String homePagePosition;

    /** 个人中心位置 */
    @Excel(name = "个人中心位置")
    private String personalCenterPosition;

    /** 提现申请位置 */
    @Excel(name = "提现申请位置")
    private String withdrawalApplicationPosition;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 奖励金额 */
    @Excel(name = "奖励金额")
    private BigDecimal rewardAmount;

    private Long logoTk;

    public Long getLogoTk() {
        return logoTk;
    }

    public void setLogoTk(Long logoTk) {
        this.logoTk = logoTk;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setShowAccountBalance(Integer showAccountBalance) 
    {
        this.showAccountBalance = showAccountBalance;
    }

    public Integer getShowAccountBalance() 
    {
        return showAccountBalance;
    }

    public void setShowTaskCompletionCount(Integer showTaskCompletionCount) 
    {
        this.showTaskCompletionCount = showTaskCompletionCount;
    }

    public Integer getShowTaskCompletionCount() 
    {
        return showTaskCompletionCount;
    }

    public void setShowPaymentCode(Integer showPaymentCode) 
    {
        this.showPaymentCode = showPaymentCode;
    }

    public Integer getShowPaymentCode() 
    {
        return showPaymentCode;
    }

    public void setShowWithdrawalApplication(Integer showWithdrawalApplication) 
    {
        this.showWithdrawalApplication = showWithdrawalApplication;
    }

    public Integer getShowWithdrawalApplication() 
    {
        return showWithdrawalApplication;
    }

    public void setShowInviteFriends(Integer showInviteFriends) 
    {
        this.showInviteFriends = showInviteFriends;
    }

    public Integer getShowInviteFriends() 
    {
        return showInviteFriends;
    }

    public void setShowMyTeam(Integer showMyTeam) 
    {
        this.showMyTeam = showMyTeam;
    }

    public Integer getShowMyTeam() 
    {
        return showMyTeam;
    }

    public void setShowMyTasks(Integer showMyTasks) 
    {
        this.showMyTasks = showMyTasks;
    }

    public Integer getShowMyTasks() 
    {
        return showMyTasks;
    }

    public void setHomePagePosition(String homePagePosition) 
    {
        this.homePagePosition = homePagePosition;
    }

    public String getHomePagePosition() 
    {
        return homePagePosition;
    }

    public void setPersonalCenterPosition(String personalCenterPosition) 
    {
        this.personalCenterPosition = personalCenterPosition;
    }

    public String getPersonalCenterPosition() 
    {
        return personalCenterPosition;
    }

    public void setWithdrawalApplicationPosition(String withdrawalApplicationPosition) 
    {
        this.withdrawalApplicationPosition = withdrawalApplicationPosition;
    }

    public String getWithdrawalApplicationPosition() 
    {
        return withdrawalApplicationPosition;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setRewardAmount(BigDecimal rewardAmount) 
    {
        this.rewardAmount = rewardAmount;
    }

    public BigDecimal getRewardAmount() 
    {
        return rewardAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("showAccountBalance", getShowAccountBalance())
            .append("showTaskCompletionCount", getShowTaskCompletionCount())
            .append("showPaymentCode", getShowPaymentCode())
            .append("showWithdrawalApplication", getShowWithdrawalApplication())
            .append("showInviteFriends", getShowInviteFriends())
            .append("showMyTeam", getShowMyTeam())
            .append("showMyTasks", getShowMyTasks())
            .append("homePagePosition", getHomePagePosition())
            .append("personalCenterPosition", getPersonalCenterPosition())
            .append("withdrawalApplicationPosition", getWithdrawalApplicationPosition())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("rewardAmount", getRewardAmount())
            .toString();
    }
}
